package cn.tedu.course.employee.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.Date;

/**
 * @BelongsProject: course-jsd2503-student
 * @BelongsPackage: cn.tedu.course.employee.pojo.dto
 * @Author: yinwenkang
 * @CreateTime: 2025-06-14  21:51
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class EmployeeParam {
    @Schema(description = "员工编号")
    private Long id; //员工编号
    @Schema(description = "员工户名")
    @NotBlank(message = "员工户名不能为空")
    private String username; //员工户名
    @Schema(description = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone; //手机号
    @Schema(description = "性别")
    @NotBlank(message = "性别不能为空")
    private String gender; //性别
    @Schema(description = "所属学校")
    @NotBlank(message = "所属学校不能为空")
    private String school; //所属学校
    @Schema(description = "用户状态")
    @NotBlank(message = "用户状态不能为空")
    private String status; //用户状态 0-禁用 1-启用
    @Schema(description = "role")
    @NotBlank(message = "角色不能为空")
    private String role;//角色 10-实习 20-教师 30-教导主任 40-校长
}
